Skip to content

Fix for mismatched brackets - #265

Merged
m-messer merged 1 commit into
mainfrom
fix/mismatched_brackets
Aug 10, 2026
Merged

Fix for mismatched brackets#265
m-messer merged 1 commit into
mainfrom
fix/mismatched_brackets

Conversation

@m-messer

Copy link
Copy Markdown
Member

With the change in #263, students could enter mismatched brackets [x+y), and it would be translated to (x+y).

This fix requires students to have matched brackets [x+y] for it to pass the preview step. A tag was added to the feedback.

…cket_notation` for better handling of mismatched brackets

@peterbjohnson peterbjohnson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In principle this looks good, including the custom feedback.

I suggest try it out in the app after deployment to double check UX.

I haven't checked the detail of the code is it's quite dispersed through the function so harder to check - I don't want to add delays.

@m-messer

Copy link
Copy Markdown
Member Author

Thanks, it is currently deployed on the LF staging instance if you want to try it before merging. Otherwise, I'll merge on Monday.

@m-messer
m-messer merged commit 61ce37a into main Aug 10, 2026
10 checks passed
@m-messer
m-messer deleted the fix/mismatched_brackets branch August 10, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants